<?php echo $this->load->view("schedule/course_nav"); ?>
<div class="xleft today">
	<?php foreach ($courses as $row) { ?>
		<div class="kolom xleft">
			<p class="pel6 black din padbwh"><?php echo $row['nama_ruangan'] ?></p>
			<?php if (!empty($row['list_jadwal'])) { ?>
				<?php foreach ($row['list_jadwal'] as $jadwal) {?>
					<a href="<?php echo base_url(); ?>schedule/schedule_con/detail/<?php echo $jadwal['kode_pelatihan']."/".$jadwal['angkatan']; ?>" class="pelkanantoday">
						<p class="jad2 ">
							<span class="sesi0 din"><?php echo $jadwal['kode_pelatihan']."-".$jadwal['angkatan']; ?> </span><span class=" sesi din">0<?php echo $jadwal['nomor_sesi']; ?></span>
						<div class="jad2 din"><?php echo $jadwal['judul_sesi']; ?></div>
						</p>
						<p class="jad3"><?php echo $jadwal['jam_mulai']; ?>-<?php echo $jadwal['jam_selesai']; ?></p>
						<p class="jad4">
						<?php foreach ($jadwal['list_pengajar'] as $pengajar) {
							echo $pengajar['nama'];
						} ?>
						</p>
					</a>
				<?php } ?>
			<?php } else { ?>
			<div class="flash_message message_info">No Course</div>
			<?php }?>
			<p class="clear"></p>
		</div>
	<?php }?>
</div>
